<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>DataExtractor: E:/cas/cas.0.7.0/sfw/src/MinConsole/MinConsole.0.8.0/MinConsole/Gaf/Utils/INI/SectionData.cs Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>E:/cas/cas.0.7.0/sfw/src/MinConsole/MinConsole.0.8.0/MinConsole/Gaf/Utils/INI/SectionData.cs</h1>  </div>
</div>
<div class="contents">
<a href="../../d7/d12/SectionData_8cs.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="keyword">using</span> System;
<a name="l00002"></a>00002 <span class="keyword">using</span> System.Collections.Generic;
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="keyword">namespace </span>MinConsole.IniParser
<a name="l00005"></a>00005 {
<a name="l00010"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html">00010</a>     <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html" title="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</a> : ICloneable
<a name="l00011"></a>00011     {
<a name="l00012"></a>00012 <span class="preprocessor">        #region Initialization</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00017"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ab4bcc2bb16215d20ab3ec3a6837a1e6f">00017</a>         <span class="keyword">public</span> <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html" title="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</a>(<span class="keywordtype">string</span> sectionName)
<a name="l00018"></a>00018         {
<a name="l00019"></a>00019             _comments = <span class="keyword">new</span> List&lt;string&gt;();
<a name="l00020"></a>00020             _keyDataCollection = <span class="keyword">new</span> <a class="code" href="../../d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection.html" title="Represents a collection of Keydata.">KeyDataCollection</a>();
<a name="l00021"></a>00021             SectionName = sectionName;
<a name="l00022"></a>00022         }
<a name="l00023"></a>00023 
<a name="l00034"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ab611c9ddd11bafbb693e6702fc7b9eff">00034</a>         <span class="keyword">public</span> <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html" title="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</a>(<a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html" title="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</a> ori)
<a name="l00035"></a>00035         {
<a name="l00036"></a>00036             _comments = <span class="keyword">new</span> List&lt;string&gt;(ori.<a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#aa487ddcdcb6658698603c245b1c31c14" title="Comments associated to this section.">_comments</a>);
<a name="l00037"></a>00037             _keyDataCollection = <span class="keyword">new</span> <a class="code" href="../../d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection.html" title="Represents a collection of Keydata.">KeyDataCollection</a>(ori.<a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ae03421757417335d882432554b55f303" title="Keys associated to this section.">_keyDataCollection</a>);
<a name="l00038"></a>00038         }
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="preprocessor">        #endregion</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="preprocessor">        #region Properties</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>
<a name="l00048"></a>00048         <span class="keyword">public</span> <span class="keywordtype">string</span> SectionName
<a name="l00049"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#adab8fdbc92f03583cbd7bc609240d010">00049</a>         {
<a name="l00050"></a>00050             <span class="keyword">get</span>
<a name="l00051"></a>00051             {
<a name="l00052"></a>00052                 <span class="keywordflow">return</span> _sectionName;
<a name="l00053"></a>00053             }
<a name="l00054"></a>00054 
<a name="l00055"></a>00055             <span class="keyword">set</span>
<a name="l00056"></a>00056             {
<a name="l00057"></a>00057                 <span class="keywordflow">if</span> (value != <span class="keywordtype">string</span>.Empty)
<a name="l00058"></a>00058                     _sectionName = value;
<a name="l00059"></a>00059             }
<a name="l00060"></a>00060         }
<a name="l00061"></a>00061 
<a name="l00066"></a>00066         <span class="keyword">public</span> List&lt;string&gt; Comments
<a name="l00067"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#a1ea697b805ef5c5b697bfe83e6972f7d">00067</a>         {
<a name="l00068"></a>00068             <span class="keyword">get</span>
<a name="l00069"></a>00069             {
<a name="l00070"></a>00070                 <span class="keywordflow">return</span> _comments;
<a name="l00071"></a>00071             }
<a name="l00072"></a>00072 
<a name="l00073"></a>00073             <span class="keyword">set</span>
<a name="l00074"></a>00074             {
<a name="l00075"></a>00075                 _comments = <span class="keyword">new</span> List&lt;string&gt;(value);
<a name="l00076"></a>00076             }
<a name="l00077"></a>00077         }
<a name="l00078"></a>00078 
<a name="l00083"></a>00083         <span class="keyword">public</span> <a class="code" href="../../d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection.html" title="Represents a collection of Keydata.">KeyDataCollection</a> Keys
<a name="l00084"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#a1b9719c87649991337673af8793d90ee">00084</a>         {
<a name="l00085"></a>00085             <span class="keyword">get</span>
<a name="l00086"></a>00086             {
<a name="l00087"></a>00087                 <span class="keywordflow">return</span> _keyDataCollection;
<a name="l00088"></a>00088             }
<a name="l00089"></a>00089 
<a name="l00090"></a>00090             <span class="keyword">set</span>
<a name="l00091"></a>00091             {
<a name="l00092"></a>00092                 _keyDataCollection = value;
<a name="l00093"></a>00093             }
<a name="l00094"></a>00094         }
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 <span class="preprocessor">        #endregion</span>
<a name="l00097"></a>00097 <span class="preprocessor"></span>
<a name="l00098"></a>00098 <span class="preprocessor">        #region ICloneable Members</span>
<a name="l00099"></a>00099 <span class="preprocessor"></span>
<a name="l00106"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ae2ed43906a9888a668bcfb815620d9b3">00106</a>         <span class="keyword">public</span> <span class="keywordtype">object</span> Clone()
<a name="l00107"></a>00107         {
<a name="l00108"></a>00108             <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html" title="Information associated to a section in a INI FileIncludes both the value and the comments associated ...">SectionData</a>(<span class="keyword">this</span>);
<a name="l00109"></a>00109         }
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 <span class="preprocessor">        #endregion</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00113"></a>00113 <span class="preprocessor">        #region Non-public members</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span>
<a name="l00118"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#aa487ddcdcb6658698603c245b1c31c14">00118</a>         <span class="keyword">private</span> List&lt;string&gt; <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#aa487ddcdcb6658698603c245b1c31c14" title="Comments associated to this section.">_comments</a>;
<a name="l00119"></a>00119 
<a name="l00123"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ae03421757417335d882432554b55f303">00123</a>         <span class="keyword">private</span> <a class="code" href="../../d3/db1/classMinConsole_1_1IniParser_1_1KeyDataCollection.html" title="Represents a collection of Keydata.">KeyDataCollection</a> <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#ae03421757417335d882432554b55f303" title="Keys associated to this section.">_keyDataCollection</a>;
<a name="l00124"></a>00124 
<a name="l00128"></a><a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#a7d94dc3a4212856e62f8672056c061d9">00128</a>         <span class="keyword">private</span> <span class="keywordtype">string</span> <a class="code" href="../../da/d5e/classMinConsole_1_1IniParser_1_1SectionData.html#a7d94dc3a4212856e62f8672056c061d9" title="Name of the u.">_sectionName</a>;
<a name="l00129"></a>00129 <span class="preprocessor">        #endregion</span>
<a name="l00130"></a>00130 <span class="preprocessor"></span>
<a name="l00131"></a>00131     }
<a name="l00132"></a>00132 }
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sat Jan 22 2011 22:24:47 for DataExtractor by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
